package com.polytech.diploma.SQLGenerator.Oracle.Arguments;

import java.util.Collections;
import java.util.List;
import java.util.Map;

public class Constant implements Argument{
	
	private DataType type;
	/**
	 * Integer, Double, String etc
	 */
	private Object value;
	
	
	public Constant() {
		super();
	}


	public Constant(DataType type, Object value) {
		super();
		this.type = type;
		this.value = value;
	}


	public DataType getType() {
		return type;
	}


	public void setType(DataType type) {
		this.type = type;
	}


	public Object getValue() {
		return value;
	}


	public void setValue(Object value) {
		this.value = value;
	}

	@Override
	public Map<String, List<String>> getTablesWithFields(
			Map<String, List<String>> fieldMap) {
		return Collections.EMPTY_MAP;
	}
}
